import Vue from 'vue'
import App from './App'
import uView from 'uview-ui';
import $H from './common/request.js';
import {
	  get,
	  post,
	  put,
	  remove,
	  qrpost
	} from './utils/res'
Vue.prototype.$H = $H
Vue.use(uView);
import store from './store/index.js';
Vue.prototype.$store = store
Vue.prototype.$get = get
Vue.prototype.$post = post
Vue.prototype.$put = put
Vue.prototype.$remove = remove
Vue.prototype.$qrpost = qrpost

import {
	login
} from './utils/toLogin.js'
Vue.prototype.$login = login

Vue.config.productionTip = false
// const unipay = require('@dcloudio/unipay')

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
